from executor import *
from utils.strategy.conf.BtConf import BtConf


def new_test():
    exe = CTAExecutor()
    conf = BtConf('example', '2024-8-1', '2024-9-5', symbols=['BTCUSDT'],
                  Kline='minute', factors=['KineticEnergy'], KlineBatchSize=5,
                  show_factors=['volume', 'ME'])
    conf['param'] = (30, 5, 2)
    # exe.run(*[conf.copy(param=x * 2) for x in range(1, 100)])
    exe.run(conf)


if __name__ == '__main__':
    new_test()
